﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Api.Results
{
    public class LoginByPhoneResult
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 认证标志
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 密码重试的次数，当次数等于0时账号将被锁定
        /// </summary>
        public int RetryCount { get; set; }

        /// <summary>
        /// 账号锁定时间（分钟）
        /// </summary>
        public int LockoutDuration { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 头像地址
        /// http://...
        /// </summary>
        public string AvatarUrl { get; set; }

        public string NickName { get; set; }

        public string City { get; set; }
    }
}
